package cn.edu.hust.sse.software7.class3.service;

import java.util.Date;
import java.util.List;

import cn.edu.hust.sse.software7.class3.entities.EBUser;

public interface EBUserService {
	boolean isExistUser(EBUser user);

	void addUser(EBUser user);

	void updateUser(EBUser user);

	EBUser validateUser(EBUser user);

	List<EBUser> getAllUsers();

	Integer getAllUsersSize();

	List<EBUser> getAllUsers(Integer rangeValue);

	EBUser getUserById(Long userId);

	List<EBUser> getUsersByBirth(Date birth);

	List<EBUser> getUsersBirthOnToday();

	List<EBUser> getUsersBirthOnWeek();

	List<EBUser> getUsersByEmail(String email);

	void deleteUserById(Long userId);
}
